<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="LightSteelBlue">
    <h1  align="center"> The Joy of Forums....</h1>
    <hr>
<h2 align="left"> Topic Name   <%= @topic.topicName %>
<% @int = @topic.id %>
</h2>
<h3>Edit Topic</h3>
<% form_tag :controller => :topics, :action => :update, :id => @topic do %>
<% @topic.id = @int %>
<% @int %>
<% @topic.id %>
    Topic Name:     <%=   text_field :topic, :topicName %>
    <br/>

    <br/>
	Topic Content:<br/>     <%=   text_area :topic, :topicContent, :rows =>5, :cols =>50 %>
    <br/>    <br/>
   <%= submit_tag 'Update' , :controller => :topics, :action => :update, :id => @topic  %>
   <% end %>
  </body>
</html>
